package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.BusServiceItem;
import cn.wolfcode.car.business.query.BusServiceItemQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusServiceItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BusServiceItem record);

    BusServiceItem selectByPrimaryKey(Long id);

    List<BusServiceItem> selectAll();

    int updateByPrimaryKey(BusServiceItem record);

    List<BusServiceItem> selectForList(BusServiceItemQuery qo);

    void changeStatus(@Param("serviceItemId") Long serviceItemId, @Param("status") Integer status);
}